package com.lee.spring.service.impl;


import com.lee.mybatis.entity.UserRole;
import com.lee.mybatis.mapper.UserRoleMapper;
import com.lee.spring.service.UserRoleService;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



@Slf4j
@Service
public class UserRoleServiceImpl implements UserRoleService {

    @Autowired
    private UserRoleMapper userRoleMapper;


    @Override
    public void insert(UserRole userRole) {
            log.info("正在插入...");
            userRoleMapper.insert(userRole);
    }
}

